/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sisvoto.ModeloDAO;

import java.util.List;
import sisvoto.DAO.DAOAbstract;
import sisvoto.modelo.HuellaDactilar;

/**
 *
 * @author DJ2-PC
 */
public class HuellaDactilarDAO extends DAOAbstract<HuellaDactilar> {

    public HuellaDactilarDAO(HuellaDactilar t) {
        super(t);
    }

    @Override
    public List<HuellaDactilar> buscarTodos() {
        javax.persistence.Query consulta = this.getEntityManager().createQuery("Select huell from HuellaDactilar huell");
        return consulta.getResultList();
        
    }

   

    
   
    
}
